package com.jx.mlxg.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jx.mlxg.entity.Users;
<<<<<<< HEAD
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Optional;
=======
>>>>>>> eb72a42842a7e02f996c4f2d21dc4051aa14ecf1

/**
* @author Administrator
* @description 针对表【users】的数据库操作Mapper
* @createDate 2025-02-21 13:54:00
* @Entity generator.entity.Users
*/
<<<<<<< HEAD
@Mapper
public interface UsersMapper extends BaseMapper<Users> {
    /**
     * 根据用户名查询用户ID
     */
    int getUserIdByPhoneNumber(@Param("phoneNumber") String phoneNumber);
    Users getByUserId(@Param("userId") Long userId);

    Integer getUserByOpenId(@Param("openId")String openId);
=======
public interface UsersMapper extends BaseMapper<Users> {

>>>>>>> eb72a42842a7e02f996c4f2d21dc4051aa14ecf1
}




